keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D110/210/410 T1/E1/J1 PRI Cards

Freeiris2上插第二片D410P 4E1卡板没法用~求助!

14 years 7 months ago #3795 by miaolin
数字卡应该还是需要你手动配置一下zaptel.conf?
14 years 7 months ago #3796 by ramble
[font=新細明體]/etc/dahdi/system.conf [/font]内容设置如下: [font=新細明體] [/font]
[font="]# [/font][font="] [/font]
[font="]# DAHDI Configuration File1.1 [/font][font="] [/font]
[font="]# [/font][font="] [/font]
[font="]# Generation by HardwareTelephony Detect [/font][font="] [/font]
[font="]# Copyright by sun bing<This email address is being protected from spambots. You need JavaScript enabled to view it.> [/font][font="] [/font]
[font="]# [/font][font="] [/font]
[font="]# create at 1252408202 [/font][font="] [/font]
[font="]# [/font][font="] [/font]
[font="] [/font]
[font="]# digital [/font][font="] [/font]
[font="]span=1,1,0,ccs,hdb3, [/font][font="] [/font]
[font="]span=2,2,0,ccs,hdb3, [/font][font="] [/font]
[font="]span=3,3,0,ccs,hdb3, [/font][font="] [/font]
[font="]span=4,4,0,ccs,hdb3, [/font][font="] [/font]
[font="] [/font]
[font="]dchan=16 [/font][font="] [/font]
[font="]bchan=1-15,17-31 [/font][font="] [/font]
[font="]dchan=47 [/font][font="] [/font]
[font="]bchan=32-46,48-62 [/font][font="] [/font]
[font="]dchan=78 [/font][font="] [/font]
[font="]bchan=63-77,79-93 [/font][font="] [/font]
[font="]dchan=109 [/font][font="] [/font]
[font="]bchan=94-108,110-124 [/font][font="] [/font]
[font="] [/font]
[font="] [/font]
[font="]loadzone=us [/font][font="] [/font]
[font="]defaultzone=us [/font][font="] [/font]
[font="] [/font]
[font="]# endof [/font]



[font="] [/font]
我曾经手动 修改 如下设置: [font=新細明體] [/font]
[font="]# [/font][font="] [/font]
[font="]# DAHDI Configuration File1.1 [/font][font="] [/font]
[font="]# [/font][font="] [/font]
[font="]# Generation by HardwareTelephony Detect [/font][font="] [/font]
[font="]# Copyright by sun bing<This email address is being protected from spambots. You need JavaScript enabled to view it.> [/font][font="] [/font]
[font="]# [/font][font="] [/font]
[font="]# create at 1252408202 [/font][font="] [/font]
[font="]# [/font][font="] [/font]
[font="] [/font]
[font="]# digital [/font][font="] [/font]
[font="]span=1,1,0,ccs,hdb3, [/font][font="] [/font]
[font="]span=2,2,0,ccs,hdb3, [/font][font="] [/font]
[font="]span=3,3,0,ccs,hdb3, [/font][font="] [/font]
[font="]span=4,4,0,ccs,hdb3, [/font][font="] [/font]
[font="] [/font]
[font="]dchan=16 [/font][font="] [/font]
[font="]bchan=1-15,17-31 [/font][font="] [/font]
[font="]dchan=47 [/font][font="] [/font]
[font="]bchan=32-46,48-62 [/font][font="] [/font]
[font="]dchan=78 [/font][font="] [/font]
[font="]bchan=63-77,79-93 [/font][font="] [/font]
[font="]dchan=109 [/font][font="] [/font]
[font="]bchan=94-108,110-124 [/font][font="] [/font]
[font="] [/font]
[font="]span=1,1,1,ccs,hdb3, [/font][font="] [/font]
[font="]span=2,2,1,ccs,hdb3, [/font][font="] [/font]
[font="]span=3,3,1,ccs,hdb3, [/font][font="] [/font]
[font="]span=4,4,1,ccs,hdb3, [/font][font="] [/font]
[font="] [/font]
[font="]dchan=140 [/font][font="] [/font]
[font="]bchan=125-139,141-155 [/font][font="] [/font]
[font="]dchan=171 [/font][font="] [/font]
[font="]bchan=156-170,172-186 [/font][font="] [/font]
[font="]dchan=202 [/font][font="] [/font]
[font="]bchan=187-201,203-217 [/font][font="] [/font]
[font="]dchan=233 [/font][font="] [/font]
[font="]bchan=218-232,234-248 [/font][font="] [/font]
[font="] [/font]
[font="] [/font]
[font="]loadzone=us [/font][font="] [/font]
[font="]defaultzone=us [/font][font="] [/font]
[font="] [/font]
[font="]# endof [/font][font="] [/font]
但是结果还是一样 [font=新細明體] [/font]
您所提的 [font=新細明體]zaptelconf [/font]我在 [font=新細明體]/etc/asterisk [/font]中并没有发现,他存在于哪里?又该如何设置?是否可以劳您解说一下!谢谢~ [font=新細明體] [/font]
14 years 7 months ago #3797 by Wayne
dahdi的system.conf就是zaptel的zaptel.conf,所以不用在dahdi环境下找zaptel.conf了。
我想你应该把下面的通道定义放在chan_dahdi.conf里面,而不是放在system.conf里,
[font="]dchan=16 [/font]
[font="]bchan=1-15,17-31 [/font]
[font="]dchan=47 [/font]
[font="]bchan=32-46,48-62 [/font]
[font="]dchan=78 [/font]
[font="]bchan=63-77,79-93 [/font]
[font="]dchan=109 [/font]
[font="]bchan=94-108,110-124 [/font]
[font="] [/font][font="]dchan=140 [/font]
[font="]bchan=125-139,141-155 [/font]
[font="]dchan=171 [/font]
[font="]bchan=156-170,172-186 [/font]
[font="]dchan=202 [/font]
[font="]bchan=187-201,203-217 [/font]
[font="]dchan=233 [/font]
[font="]bchan=218-232,234-248 [/font]

把你的chan_dahdi.conf贴出来瞅瞅?
14 years 7 months ago #3798 by james.zhu
灯都不亮了,说明驱动加载有问题了。检查你的lspci 或者 system.conf, 肯定那里出现了错误。你手动配置了不一定可以的。可能都在数据库里面。 发ssh 到:This email address is being protected from spambots. You need JavaScript enabled to view it..
regards!
James.zhu

14 years 7 months ago #3799 by ramble
我也觉得是
驱动的问题 ssh已经传给您了
下来就麻烦你了

谢谢[font=新細明體][/font]
14 years 7 months ago #3800 by james.zhu
hi:
应该可以的, 驱动已经加载了,我是用命令,不知道你的界面配置如何。
=======================
Changing signalling on channel 211 from Unused to Clear channel
Changing signalling on channel 212 from Unused to Clear channel
Changing signalling on channel 213 from Unused to Clear channel
Changing signalling on channel 214 from Unused to Clear channel
Changing signalling on channel 215 from Unused to Clear channel
Changing signalling on channel 216 from Unused to Clear channel
Changing signalling on channel 217 from Unused to Clear channel
Changing signalling on channel 218 from Unused to Clear channel
Changing signalling on channel 219 from Unused to Clear channel
Changing signalling on channel 220 from Unused to Clear channel
Changing signalling on channel 221 from Unused to Clear channel
Changing signalling on channel 222 from Unused to Clear channel
Changing signalling on channel 223 from Unused to Clear channel
Changing signalling on channel 224 from Unused to Clear channel
Changing signalling on channel 225 from Unused to Clear channel
Changing signalling on channel 226 from Unused to Clear channel
Changing signalling on channel 227 from Unused to Clear channel
Changing signalling on channel 228 from Unused to Clear channel
Changing signalling on channel 229 from Unused to Clear channel
Changing signalling on channel 230 from Unused to Clear channel
Changing signalling on channel 231 from Unused to Clear channel
Changing signalling on channel 232 from Unused to Clear channel
Changing signalling on channel 233 from Unused to HDLC with FCS check
Changing signalling on channel 234 from Unused to Clear channel
Changing signalling on channel 235 from Unused to Clear channel
Changing signalling on channel 236 from Unused to Clear channel
Changing signalling on channel 237 from Unused to Clear channel
Changing signalling on channel 238 from Unused to Clear channel
Changing signalling on channel 239 from Unused to Clear channel
Changing signalling on channel 240 from Unused to Clear channel
Changing signalling on channel 241 from Unused to Clear channel
Changing signalling on channel 242 from Unused to Clear channel
Changing signalling on channel 243 from Unused to Clear channel
Changing signalling on channel 244 from Unused to Clear channel
Changing signalling on channel 245 from Unused to Clear channel
Changing signalling on channel 246 from Unused to Clear channel
Changing signalling on channel 247 from Unused to Clear channel
Changing signalling on channel 248 from Unused to Clear channel
[root@fris2-isr dahdi]# asterisk -r
Asterisk 1.4.26, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@fris2-isr dahdi]# vi /etc/asterisk/chan_dahdi.conf
[root@fris2-isr dahdi]# cd /etc/asterisk/
[root@fris2-isr asterisk]# ls
[root@fris2-isr asterisk]# dmesg
Found TE4XXP at base address e3500000, remapped to f8a84000
TE4XXP version c01a0000, burst OFF
FALC version: 00000005, Board ID: 00
Reg 0: 0x36b3b400
Reg 1: 0x36b3b000
Reg 2: 0xe3500008
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0xe3500014
Reg 6: 0xc01a0000
Reg 7: 0x00001f00
Reg 8: 0x00000000
Reg 9: 0x00000000
Reg 10: 0xe3500028
TE4XXP: Launching card: 0
TE4XXP: Setting up global serial parameters
Found a Wildcard: Wildcard TE410P (2nd Gen)
Found TE4XXP at base address e3501000, remapped to f8a86000
TE4XXP version c01a0000, burst OFF
FALC version: 00000005, Board ID: 01
Reg 0: 0x36b3c400
Reg 1: 0x36b3c000
Reg 2: 0xe3501008
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0xe3501014
Reg 6: 0xc01a0000
Reg 7: 0x10001f00
Reg 8: 0x00000000
Reg 9: 0x00000000
Reg 10: 0xe3501028
TE4XXP: Launching card: 1
TE4XXP: Setting up global serial parameters
Found a Wildcard: Wildcard TE410P (2nd Gen)
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter startup!
TE4XXP: Span 1 configured for CCS/HDB3
wct4xxp: Setting yellow alarm on span 1
SPAN 1: Primary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
About to enter startup!
TE4XXP: Span 2 configured for CCS/HDB3
wct4xxp: Setting yellow alarm on span 2
SPAN 2: Secondary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
About to enter startup!
TE4XXP: Span 3 configured for CCS/HDB3
wct4xxp: Setting yellow alarm on span 3
SPAN 3: Tertiary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
About to enter startup!
TE4XXP: Span 4 configured for CCS/HDB3
wct4xxp: Setting yellow alarm on span 4
SPAN 4: Quaternary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
eth0: no IPv6 routers present
wct4xxp: Clearing yellow alarm on span 1
wct4xxp: Clearing yellow alarm on span 3

Stopped TE4XXP, Turned off DMA

Stopped TE4XXP, Turned off DMA
TE4XXP: Disabling interrupts since there are no active spans
usbcore: deregistering driver xpp_usb
dahdi_transcode: Unloaded.
dahdi: Telephony Interface Unloaded
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.1.0.4
Found TE4XXP at base address e3500000, remapped to f8a84000
TE4XXP version c01a0000, burst OFF
FALC version: 00000005, Board ID: 00
Reg 0: 0x368b3400
Reg 1: 0x368b3000
Reg 2: 0xe3500008
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0xe3500014
Reg 6: 0xc01a0000
Reg 7: 0x00001f00
Reg 8: 0x00000000
Reg 9: 0x00000000
Reg 10: 0xe3500028
TE4XXP: Launching card: 0
TE4XXP: Setting up global serial parameters
Found a Wildcard: Wildcard TE410P (2nd Gen)
Found TE4XXP at base address e3501000, remapped to f8a86000
TE4XXP version c01a0000, burst OFF
FALC version: 00000005, Board ID: 01
Reg 0: 0x34b00400
Reg 1: 0x34b00000
Reg 2: 0xe3501008
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0xe3501014
Reg 6: 0xc01a0000
Reg 7: 0x10001f00
Reg 8: 0x00000000
Reg 9: 0x00000000
Reg 10: 0xe3501028
TE4XXP: Launching card: 1
TE4XXP: Setting up global serial parameters
Found a Wildcard: Wildcard TE410P (2nd Gen)
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
dahdi: Registered tone zone 0 (United States / North America)
About to enter startup!
TE4XXP: Span 1 configured for CCS/HDB3
wct4xxp: Setting yellow alarm on span 1
timing source auto card 0!
SPAN 1: Primary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
About to enter startup!
TE4XXP: Span 2 configured for CCS/HDB3
wct4xxp: Setting yellow alarm on span 2
SPAN 2: Secondary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
About to enter startup!
TE4XXP: Span 3 configured for CCS/HDB3
wct4xxp: Setting yellow alarm on span 3
timing source auto card 0!
SPAN 3: Tertiary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
About to enter startup!
TE4XXP: Span 4 configured for CCS/HDB3
wct4xxp: Setting yellow alarm on span 4
SPAN 4: Quaternary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
wct4xxp: Clearing yellow alarm on span 1
wct4xxp: Clearing yellow alarm on span 3
========================================
现在led 应该是亮的。chan_dahdi.conf 我没有配置,你可能要从界面去配置。总之,
希望从界面你检查这些配置,手动改的怕影响你的界面配置。好好研究那个界面的配置。
另外这些设置肯定不对的:
; for digital
;
signalling=pri_cpe
switchtype=euroisdn
nsf=none
pridialplan=national
prilocaldialplan=national
resetinterval=100000000
overlapdial=no
;inbanddisconnect=yes
; priindication = outofband
; priexclusive = yes
; pritimer => t200,1000
facilityenable = yes
restrictcid=no
;usecallingpres=yes
context=from-trunk-dahdi
;
#include chan_dahdi_digital.conf
digital.conf 里面只有1-31 通道。根本不对。
james.zhu

Time to create page: 0.064 seconds
Powered by Kunena Forum